package com.donfu.system.service.house;

import java.util.List;
import com.donfu.system.domain.house.HouseCollection;

/**
 * 收藏Service接口
 * 
 * @author donfu
 * @date 2021-12-01
 */
public interface IHouseCollectionService 
{
    /**
     * 查询收藏
     * 
     * @param id 收藏主键
     * @return 收藏
     */
    public HouseCollection selectHouseCollectionById(Long id);

    /**
     * 查询收藏列表
     * 
     * @param houseCollection 收藏
     * @return 收藏集合
     */
    public List<HouseCollection> selectHouseCollectionList(HouseCollection houseCollection);

    /**
     * 根据用户id 查询收藏列表
     *
     * @param houseCollection 收藏
     * @return 收藏集合
     */
    public List<HouseCollection> selectHouseCollectionByUser(HouseCollection houseCollection);

    /**
     * 新增收藏
     * 
     * @param houseCollection 收藏
     * @return 结果
     */
    public int insertHouseCollection(HouseCollection houseCollection);

    /**
     * 修改收藏
     * 
     * @param houseCollection 收藏
     * @return 结果
     */
    public int updateHouseCollection(HouseCollection houseCollection);

    /**
     * 批量删除收藏
     * 
     * @param ids 需要删除的收藏主键集合
     * @return 结果
     */
    public int deleteHouseCollectionByIds(Long[] ids);

    /**
     * 删除收藏信息
     * 
     * @param id 收藏主键
     * @return 结果
     */
    public int deleteHouseCollectionById(Long id);
}
